package mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * User: yuebo
 * Date: 13-9-8
 * Time: 下午5:10
 */
public interface FrMapper {
      @Select("select * from fr_task where task_level>= #{start} and task_level<= #{end} order by id")
      List<FrTask> findTask(@Param("start") int start,@Param("end") int end);

      @Select("select * from fr_task where id=#{id}")
      FrTask findTaskById(@Param("id") int id);

}
